<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>我的订单</title>

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/semantic.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/main.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/common.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/light-theme.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/m2015.css" />
    <script src="__PUBLIC__/Js/jquery-3.1.1.min.js"></script>
</head>
<body>



<div style="margin: 20px;">
<a href="__APP__/Gouwu/pay_order1/" class="mall"><input id="a" type="submit" name="action" value="已支付" style="margin-left: 50px; padding: 5px 15px;background-color: #F5CBAF;color: red;box-shadow: 0 0 0 1px #DB2828"></a>
<a href="__APP__/Gouwu/pay_order/" class="mall"><input id="b" type="submit" name="action" value="未支付" style="margin-left: 20px; padding: 5px 15px;background-color: #F5DFDA;box-shadow: 0 0 0 1px #DB2828"></a>
    
</div>
<div class="boxthree flag">
    <volist name="list" id="vo">
        <form name="form4" method="post" action="__URL__/ShopAC_gw_order">
            <div class="ui equal width stackable internally celled grid">
                <div class="center aligned  row">
                    <div class="img">
                        <a href="#">
                            <div class="m-r-img">
                                <img class="ui top aligned tiny image" src="{$product[$vo['id']]['img']}">
                            </div>
                        </a>
                    </div>

                    <div class="hot-info">
                        <div class="hto-p">

                            <p class="hto-title">订单号码：{$vo.order_id}</p>
                            <p class="hto-title">单价：{$vo.money}</p>
                            <p class="hto-title">商品总数：{$vo.shu}</p>
                            <p class="hto-title">订单状态：
                                <eq name="vo['have_pay']" value='0'>未支付</eq>
                                <eq name="vo['have_pay']" value='1'>已支付</eq>
                            </p>
                        </div>
                    </div>
                </div>

                <div class="or-box">
                    <p>总计：{$vo.cprice}</p>
                </div>
                <div class="or-box">
                    <div class="cart_btn">
                        <div class="field">
                            <eq name="vo['have_pay']" value="0">
                                <div class="f-checked font">
                                    <label>支付方式：</label>
                                </div>


                                <div class="f-checked">
                                    <input type="radio" name="example2" tabindex="0" class="hidden" value="1" checked>
                                    <label>消费币</label>
                                </div>


                               <!--  <div class="f-checked">
                                    <input type="radio" name="example2" tabindex="0" class="hidden" value="2" checked>
                                    <label>电子币</label>
                                </div> -->


                                <else/>
                                <div class="f-checked font">
                                    <label>支付时间:</label>
                                    <label>{$vo.have_pay_time|date="Y-m-d H:i:s",###}</label>

                                </div>
                            </eq>



                            <!--<eq name="vo['lx']" value='4'>-->
                            <!--<div class="f-checked">-->
                            <!--<input type="radio" name="example2" tabindex="0" class="hidden" value="1">-->
                            <!--<label>微信支付</label>-->
                            <!--</div>-->

                            <!--</eq>-->
                            <div class="cls"></div>
                        </div>
                    </div>
                </div>

                <div class="or-box bb-bor">
                    <input type="hidden" name="pid" value="{$vo.id}">
                    <eq name="vo['have_pay']" value='0'>
                        <input type="submit" name="action" value="立即支付" class="ui negative basic mini btn" onclick="{if(confirm('确定要立即支付吗?')){return true;}return false;}">
                    </eq>

                    <a href="__APP__/Gouwu/gw_order_info/ID/{$vo.id}/imgId/{$product[$vo['id']]['id']}" class="ui grey basic mini btn">查看详情</a>
                    <eq name="vo['have_pay']" value='0'>
                        <a href="__APP__/Gouwu/del_gw_order/ID/{$vo.id}/" class="ui grey basic btn" onclick="{if(confirm('确定要删除该订单吗?')){return true;}return false;}">删除订单</a>
                    </eq>
                </div>
            </div>
        </form>
    </volist>
</div>
<link rel="stylesheet" href="__PUBLIC__/Css/page.css">
<div style="text-align: center" class="pagelist">{$page}</div>


<div style="height:70px;background-color:#fff;"></div>
<script type="text/javascript">
    $(".note__close").click(function(){
        $(this).parent().fadeOut(500, function(){
            $(this).remove();
        });
    });
</script>

<include file="Public:footer" />